package com.rran.study.designpattern.factory.abstractfactory;

/**
 * @author yy
 * @Type IntelFactory.java
 * @Desc
 * @date 2020/7/22 16:16
 */
public class IntelFactory implements ComputerFactory {

    @Override
    public CPU makeCPU() {
        return new IntelCPU();
    }

    @Override
    public MainBoard makeMainBoard() {
        return new IntelMainBoard();
    }

    @Override
    public HardDisk makeHardDisk() {
        return new IntelHardDisk();
    }
}
